<%@ page import="bean.MemberDTO"  %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>로그인처리</title>
</head>
<body>
<jsp:useBean id="m" class ="bean.MemberVo" scope ="page"></jsp:useBean>
<jsp:setProperty property="*" name="m"/>
<%
	MemberDTO dto = new MemberDTO();
	dto.setVo(m);
	boolean b = dto.login();
	
	if(b){	
		session.setAttribute("sessionMid", m.getMid());
	}// pageContext.forward("../index.jsp");
%>
<script>
location.href="./index.jsp";
</script>
</body>
</html>